import Head from 'next/head';
import Link from 'next/link';
import Footer from '../components/Layout/Footer';

export default () => {
    return (
        <div>
            <Head>
                <title>测试一下</title>
            </Head>
            <style jsx>{`
                div {
                        background: #eee;
                    }
                @media(max-width: 640px) {
                    div {
                        background: red;
                    }
                }
            `}</style>
            <Link prefetch href="/about"><a>关于我们</a></Link>
            <div>Welcome to next.js!133</div>
            <img src="/static/girl.JPG" alt="girl" />
            <Footer />
        </div>
    )
}